from ronglian_sms_sdk import SmsSDK

accId = '2c94811c93863e4f0193f68d99fc169f'
accToken = '575926cc0f1b4451859a1a94d2da435a'
appId = '2c94811c93863e4f0193f68d9b9516a6'


def send_message(mobile, code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = mobile
    datas = (code,)
    resp = sdk.sendMessage(tid, mobile, datas)
    return resp


# send_message('18595991609', '2345')
